import os

def shell_run(cmd):
    return os.popen(cmd).read()


def Get_ID():
    # cmd='blkid'
    cmd = 'cat /proc/cpuinfo | grep Serial'
    # print(cmd)
    res = shell_run(cmd)
    # print(res)
    print(res.split(':')[1].strip())
    return res.split(':')[1].strip()


if __name__ == '__main__':
    print(Get_ID())